<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class District extends Model
{
    const UPDATED_AT = null;
    const CREATED_AT = null;
    public $table = 'district';

    public static function district_cache()
    {
        $districts = District::where(['id' => 121])->get()->toArray();
        return array_column($districts, 'name', 'id');
    }
}
